<script setup>
import Aside from '../components/aside.vue';
import NavHeader from '../components/navHeader.vue';
</script>
<template>
    <div class="common-layout">
        <el-container>
            <!-- <el-aside width="200px">Aside</el-aside> -->
            <Aside />
            <el-container>
                <el-header>
                    <!-- header -->
                    <NavHeader />
                </el-header>
                <el-main>
                    <!-- main -->
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>


<style scoped lang="less">
.common-layout {
    height: 100%;

    .el-container {
        height: 100%;
        
    }
}
</style>